package com.imagefake.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * (PredictedRecord)表实体类
 *
 * @author makejava
 * @since 2024-05-06 21:52:20
 */
@SuppressWarnings("serial")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class PredictedRecord extends Model<PredictedRecord> {
//图片检测记录ID
    private Integer id;
//提交该次检测的用户ID
    private Integer userId;
//图片地址
    private String imagePath;
//记录创建时间
    private Date createTime;
//图片是否未被篡改的判断结果
    private String predictedResult;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

